package work.huangxin.share.service;

import com.alibaba.fastjson.JSONObject;
import work.huangxin.share.domain.wx.ReceiveMessage;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface WechatService {
    Map<String, String> parseXmlData2Map(HttpServletRequest req);

    JSONObject orderReply(HttpServletResponse response, ReceiveMessage receiveMessage) throws Exception;

    String getAccessToken(String appId,String secret);

    String getContentFromGpt(String content);
}
